import axios from "axios";

const vipApi = {
  getAllMembers(data) {
    return axios.get('/member/getAllMembers', data)
  },
  delMember(data) {
    return axios.post('/member/delMember', data)
  },
  // 充值会员
  updateMemberToVip(data) {
    return axios.post('/member/updateMemberToVip', data)
  },
  // 取消会员
  cancelMember(data) {
    return axios.post('/member/cancleMember', data)
  },

}

export default vipApi